<template>
  <div>
    <div class="box">
      <!-- 搜索 -->
      <div class="sousuos">
        <div class="fangdajing">
          <div class="pictures">
            <img src="../assets/jingzi.png" alt />
          </div>
          <input type="text" placeholder="米" />
        </div>
        <div class="close">取消</div>
      </div>
      <!-- 历史 -->
      <div class="history">
        <div class="history-son">
          <h3>最近搜索</h3>
        </div>
        <div class="Souhistory">
          <ul>
            <div>无搜索历史</div>
          </ul>
        </div>
      </div>
      <div class="search">
        <div class="title">
          <h3>热门搜索</h3>
        </div>
        <div class="classifys">
          <ul>
            <li>美容仪</li>
            <li>刀</li>
            <li>大米</li>
            <li>酸奶</li>
            <li>米</li>
            <li>洗衣液</li>
            <li>油</li>
            <li>牙膏</li>
            <li>光明</li>
            <li>卫生巾</li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style>
.classifys ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
}
.classifys ul li {
  height: 0.5rem;
  line-height: 0.5rem;
  margin: 0.15rem 0.15rem 0rem 0rem;
  padding: 0 0.22rem;
  font-size: 0.2rem;
  border: 1px solid #d8d8d8;
  border-radius: 0.04rem;
}
.title h3 {
  background: url("../assets/xingxing.png") no-repeat;
  background-size: 0.26rem 0.26rem;
  flex: 1;
  height: 0.3rem;
  padding-left: 0.36rem;
  font-weight: normal;
  font-size: 0.2rem;
}
.search {
  padding: 0rem 0.28rem;
}
.Souhistory ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
}
.Souhistory div {
  flex: 1;
  text-align: center;
  font-size: 0.2rem;
  height: 1.4rem;
  line-height: 1.4rem;
  color: #999;
}
.history-son {
  display: flex;
}
.history-son h3 {
  background: url("../assets/shizhong.png") no-repeat;
  background-size: 0.26rem 0.26rem;
  flex: 1;
  height: 0.3rem;
  padding-left: 0.36rem;
  font-weight: normal;
  font-size: 0.2rem;
}
.history {
  padding: 0rem 0.28rem;
}
.close {
  width: 1.1rem;
  height: 0.6rem;
  line-height: 0.6rem;
  text-align: center;
  font-size: 0.23rem;
}
::-webkit-input-placeholder {
  font-size: 0.23rem;
  color: #ccc;
}
.pictures img {
  width: 0.24rem;
  height: 0.24rem;
}
.pictures {
  width: 0.5rem;
  text-align: center;
  line-height: 0.6rem;
}
.fangdajing input {
  height: 0.5rem;
  line-height: 0.5rem;
  flex: 1;
  border: 0;
  background: none;
}
.fangdajing {
  flex: 1;
  display: flex;
  height: 0.54rem;
  margin-left: 0.28rem;
  border-radius: 0.1rem;
  background: #f6f6f6;
}
.sousuos {
  display: flex;
  border-bottom: 0.5px solid #eee;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  height: 0.9rem;
  background-position: bottom;
  background-repeat: no-repeat;
  background-origin: content-box;
  background-size: 100% 1px;
}
.box {
  min-height: 100%;
}
</style>